Platform Explorer / Nuxeo Platform 2021.57

Operation Document.Unlock (Unlock)

Description

Unlock the input document. The unlock will be executed in the name of the current user. An user can unlock a document only if has the UNLOCK permission granted on the document or if it the same user as the one that locked the document. Return the unlocked document
Operation id Document.Unlock
Category Document
Label Unlock
Requires
Since

Parameters

No parameters.

Signature

Inputs document, documents
Outputs document, documents

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.document.UnlockDocument
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "Document.Unlock",
  "label" : "Unlock",
  "category" : "Document",
  "requires" : null,
  "description" : "Unlock the input document. The unlock will be executed in the name of the current user. An user can unlock a document only if has the UNLOCK permission granted on the document or if it the same user as the one that locked the document. Return the unlocked document",
  "url" : "Document.Unlock",
  "signature" : [ "document", "document", "documents", "documents" ],
  "params" : [ ]
}